/**
 * 
 */
package edu.gatech.cuckoo;

import java.util.Map.Entry;

/**
 * Implementations of HashFunction should be able to return a hashcode for a
 * given data type.
 * 
 * @author Dale Avery, Hai Lin
 * 
 */
interface HashFunction<K, V> {
	
	/**
	 * Generates a hashcode for a given key.
	 * @param key The key that will be used to generate the hash code.
	 * @return The hash code for the object.
	 */
	public int hashCode(K key);

}
